<!-- 日志记录 -->
<style>
    a.log_items:hover{
        cursor: pointer;
        color:red;
    }
</style>
<?php $id="form_".uniqid();?>
<table id="<?php echo $id;?>"></table>
<script>
    $("#<?php echo $id;?>").DataSource({url:'stats/getlist',
        fields:[
            [
                {field:'t1',title:'www',align:'center',width:200,sortable:true},
                {field:'t2',title:'帐号',align:'center',width:200,sortable:true},
                {field:'t3',title:'讯息',align:'center',width:200,sortable:true},
                {field:'t4',title:'登入时间', align:'center', width:300,  sortable:true},
                {field:'t5',title:'IP位置',align:'center',width:400,  sortable:true}
             ]

       ], tools:[
            {instant:false},
            {text:"会员登陆", iconCls:"icon-user", handler:function(){
                Core.addTab('会员登陆', 'stats/member_login');
            }},
            {text:"管理登陆", iconCls:"icon-house", handler:function(){
                Core.addTab('管理登陆', 'stats/manage_login');
            }},
            {text:"操作日志", iconCls:"icon-edit", handler:function(){
                Core.addTab('操作日志', 'stats/handle_log');
            }},
            {text:"自动稽核", iconCls:"icon-search", handler:function(){
                Core.addTab('自动稽核', 'stats/check');
            }},
            '|',
			
			{type:'datebox', text:'注册日期', width:100,name:'qaddtime'},
			{type:'datebox', text:'-', width:100,name:'zaddtime'},
			{type:'textbox', text:'账号', width:100,name:'member_account'},
			{type:'textbox', text:'IP', width:100,name:'member_ip'},
			{type:'combobox',text:'登陆是否成功',width:40,name:'verify_login',value:'', items:'<option value="">失败</option><option value="1">全部</option><option value="2">成功</option>'},
			{text:"查询", iconCls:"icon-search", handler:function(){
				$('#<?php echo $id?>').DataSource('search');
			}},
		'-'
        ],
        checkbox:false,
        edit:true,
        footer:true,
        success:function(){
            $('#<?php echo $id?>').pagination({layout:['links','last'],showRefresh:false});
        }
    });

</script>